package Views;

import javax.swing.JPanel;
import java.awt.Color;
import javax.swing.JTable;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JScrollPane;

public class NotesView extends JPanel {
	private JTable table;

	/**
	 * Create the panel.
	 */
	public NotesView() {
		setLayout(new BorderLayout(0, 0));
		
		JPanel panel = new JPanel();
		add(panel, BorderLayout.SOUTH);
		panel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JButton btnViewNote = new JButton("View Note");
		panel.add(btnViewNote);
		
		JButton btnNewNote = new JButton("New Note");
		panel.add(btnNewNote);
		
		JButton btnDeleteNote = new JButton("Delete Note");
		panel.add(btnDeleteNote);
		
		JScrollPane scrollPane = new JScrollPane();
		add(scrollPane, BorderLayout.CENTER);
		
		JPanel panel_1 = new JPanel();
		scrollPane.setViewportView(panel_1);
		panel_1.setLayout(new BorderLayout(0, 0));
		
		table = new JTable();
		panel_1.add(table, BorderLayout.CENTER);

	}

}
